Skip to content

fill other types of fields in searchBrowse/FilterBrowse#1890

Merged
98llm merged 1 commit intorelease/v2.6.0rc19from
feature/fill_filter_types
Apr 1, 2026
Merged

fill other types of fields in searchBrowse/FilterBrowse#1890
98llm merged 1 commit intorelease/v2.6.0rc19from
feature/fill_filter_types

Conversation

@98llm
Copy link
Copy Markdown
Collaborator

@98llm 98llm commented Apr 1, 2026

Pull Request Description
Summary
Refactors and extends the SearchBrowse/FilterBrowse functionality in PouiInternal to support multiple field types in the THF Browse filter panel.

Changes
_set_browse_filters
Removed the unused _find_search_browse() call at the start of the method.
Replaced the single hard-coded po-input filling logic with a dynamic field-type detection strategy using _identify_filter_field().
Now delegates filling to the appropriate internal method based on detected component type.
New Methods Added
Method Description
_identify_filter_field(field_label) Detects the component type (po-input, po-datepicker, po-select, thf-lookup) of a filter field by its label inside the po-page-slide panel.
_fill_input(input_element, value) Fills standard text/date input fields with retry logic and validation.
_fill_lookup_input(input_element, value) Fills thf-lookup fields by typing a value, waiting for the suggestion list, and selecting the matching item.
_get_lookup_list_item(value) Locates a matching

  • element inside a visible thf-lookup-list.
    Motivation
    Previously, SearchBrowse/FilterBrowse only supported po-input fields. This change enables filtering by date pickers, select/combo boxes, and lookup components, making the method usable across a broader range of browse screens.

  • @98llm 98llm merged commit a30d007 into release/v2.6.0rc19 Apr 1, 2026
    1 check passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    1 participant